<script src="__JS__/jquery-1.4.1.min.js" type="text/javascript"></script>

<link href="__CSS__/Team/addproject.css" rel="stylesheet" type="text/css" />
<link href="__CSS__/setting.css" rel="stylesheet" type="text/css" />
<link href="__CSS__/account.css" rel="stylesheet" type="text/css" />
<script src="__JS__/thickbox.js" type="text/javascript"></script>
<style type="text/css">
	.onError{
		background: #FFF2E9 url(__IMG__/onError.gif) no-repeat;
		padding-top: -4px;
		padding-left: 25px;
		font-size: 12px;
		line-height: 25px;
		vertical-align: text-top;
	}
	#files li{
		margin: 0 5px;
	}
</style>
<script type="text/javascript">
	var num = 11;
	function del(item, val) {
		$("#" + item).remove();
		$("#a" + item).remove();
		var files = $("#ctl00_ContentPlaceHolder1_FileInfo")[0].value;
		$("#ctl00_ContentPlaceHolder1_FileInfo")[0].value = files.replace(val, "");
		if ($("#attachs").children().length == 0) {
			$("#attachs").hide();
			$("#add").css("margin", "10px 0");
		}
	}
	function upLoadFormOnCompelete(name, link, fileName, fileSize) {
		$("#attachs").show();
		$("#add").css("margin", "0 0 0 75px");
		num++;
		$("#attachs").append("<li id=\"" + num + "\" name=\"" + link + "\" value=\"" + fileSize + "\">" + name + "<a style=\"margin-left:50px;\" id=\"a" + num + "\" href=\"javascript:del(" + num + ",'" + (link + "ncuhomelvfei" + fileName + "ncuhomelvfei" + fileSize + "ncuhomeasdlx") + "')\">删除</a></li>");
		$("#ctl00_ContentPlaceHolder1_FileInfo")[0].value += (link + "ncuhomelvfei" + name+"ncuhomelvfei"+ fileName + "ncuhomelvfei" + fileSize + "ncuhomeasdlx");
	}
</script>
<div class="topic_nav_block_wrapper">
	<ul class="topic_nav_block" style="padding-left:20px;width:934px;">
		<li><a href="###" val="projectadd2" >参赛方案</a> </li>
		<li><a href="###" val="TeamDivide" >团队分工</a> </li>
		<li><a href="###" val="ChoiceEx" >选题经过</a> </li>
		<li><a href="###" val="Implement" >实施过程</a> </li>
		<li><a href="###" class="current_nav" val="WorkManager" >实施结果</a></li>
		<li style=" float:right;"><a class="teamnav" href="__URL__/index">返回团队主页</a></li>
	</ul>
	<div class="clear"></div>
</div>

<div id="editorHolder">
	<div class="edit_item">
		<label class="legend">*作品名称：</label>
		<input name="ctl00$ContentPlaceHolder1$txtTitle" type="text" id="ctl00_ContentPlaceHolder1_txtTitle" class="inupt_text" />
		<span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator2" class="onError" style="color:Red;visibility:hidden;">必填项</span>
	</div>
	<div class="edit_item">
		<label class="legend">工具平台：</label>
		<input name="ctl00$ContentPlaceHolder1$txtPlatforms" type="text" id="ctl00_ContentPlaceHolder1_txtPlatforms" class="inupt_text" />
		<span id="ctl00_ContentPlaceHolder1_txtSummaryTip"></span>
	</div>
	<div class="edit_item">
		<label class="legend">作品链接：</label>
		<input name="ctl00$ContentPlaceHolder1$txtUrl" type="text" id="ctl00_ContentPlaceHolder1_txtUrl" class="inupt_text" />
		<span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator4" class="onError" style="color:Red;visibility:hidden;">地址格式错误</span>
		<br>请在网址前面添加http://，如：http://www.taobao.com
	</div>
	<div class="edit_item">
		<label class="legend">*作品描述：</label>
		<textarea name="ctl00$ContentPlaceHolder1$txtSummary" rows="6" cols="20" id="ctl00_ContentPlaceHolder1_txtSummary" class="text_area"></textarea>
		<span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator1" class="onError" style="color:Red;visibility:hidden;">必填项</span>
	</div>
	<div class="edit_item">
		<label class="legend">*作品访问量</label>
		<input name="ctl00$ContentPlaceHolder1$txtVisitCount" type="text" value="0" maxlength="6" id="ctl00_ContentPlaceHolder1_txtVisitCount" class="inupt_text" style="width:100px;" />
		<span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator4" class="onError" style="color:Red;visibility:hidden;">必填项</span>
		<span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator1" class="onError" style="color:Red;display:none;">必须为数字</span>
		<label class="legend" style="margin-left: 50px;">*作品评论数</label>
		<input name="ctl00$ContentPlaceHolder1$txtReplyCount" type="text" value="0" maxlength="6" id="ctl00_ContentPlaceHolder1_txtReplyCount" class="inupt_text" style="width:100px;" />
		<span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator3" class=" onError" style="color:Red;display:none;">必填项</span>
		<span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator2" class="onError" style="color:Red;display:none;">必须为数字</span>
		<p>
			<label class="legend">其他数据：</label>
			<input name="ctl00$ContentPlaceHolder1$txtOtherInfo" type="text" id="ctl00_ContentPlaceHolder1_txtOtherInfo" class="inupt_text" style="width:400px;" />
			<label class="onShow">此项选填，格式（收藏数：45；购买量：50），不同项之间用“；”隔开</label>
		</p>
		<label class="onShow">说明：作品量化数据有队长根据实际情况填写或修改。希望大家如实填写，如发现作假，则参赛成绩会被取消~~</label>
	</div>
	<div class="edit_item">
		<label class="legend">业绩及附件</label>
		<ul id="attachs" style="margin-left: 70px; display: none; min-height: 60px; width: 590px;margin-top: -20px; padding: 5px; border: solid #ddd 1px; background: none repeat scroll 0 0 #FCFAD4;">		</ul>
		<a href="###" class="thickbox" title="" id="add">+添加附件</a>
		<input type="hidden" name="ctl00$ContentPlaceHolder1$FileInfo" id="ctl00_ContentPlaceHolder1_FileInfo" />
	</div>
	<div class="clear"></div>
</div>
<div id="operate">
	<input type="submit" name="ctl00$ContentPlaceHolder1$publish" value="添加"   id="ctl00_ContentPlaceHolder1_publish" class="input-button" />
	<input   class="input-button gray" type="button" onclick="javascript:window.location='WorkManager.aspx?projectid=4657'"  value="返回" />
</div>
